package com.tudouji.project.quality.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 质检标准对象 qamain
 * 
 * @author wf
 * @date 2021-03-09
 */
public class Qamain
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String guid;

    /** 质检主表名称 */
    @Excel(name = "质检主表名称")
    private String qaname;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 创建人 */
    @Excel(name = "创建人")
    private String operatorid;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    public void setGuid(String guid) 
    {
        this.guid = guid;
    }

    public String getGuid() 
    {
        return guid;
    }
    public void setQaname(String qaname) 
    {
        this.qaname = qaname;
    }

    public String getQaname() 
    {
        return qaname;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setOperatorid(String operatorid) 
    {
        this.operatorid = operatorid;
    }

    public String getOperatorid() 
    {
        return operatorid;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guid", getGuid())
            .append("qaname", getQaname())
            .append("status", getStatus())
            .append("operatorid", getOperatorid())
            .append("createtime", getCreatetime())
            .append("type", getType())
            .toString();
    }
}
